from mainapp import app
from flask_script import Manager
from mainapp.views import bake
from mainapp.views import user

if __name__ == '__main__':

    app.register_blueprint(bake.blue)
    app.register_blueprint(user.blue,url_prefix='/user')
    manager = Manager(app)
    manager.run()